arm/x86/common: Add HAS_[ALTERNATIVE|EX_TABLE]
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 19 Sep 2016 15:12:51 +0000 (11:12 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 23 Sep 2016 16:39:44 +0000 (12:39 -0400)
commit44db782fd20edae12d9292e0e72450ae46f6a739
treed84c1827ca0f6697dded108e8abe1ace3c2af0fb
parent4ca0122c53917ed5398d357c41b51e48baec5be8
arm/x86/common: Add HAS_[ALTERNATIVE|EX_TABLE]

x86 implements all of them by default - and we just
add two extra HAS_ variables to be declared in autoconf.h.

ARM 64 only has alternative while ARM 32 has none of them.

And while at it change the livepatch common code that
would benefit from this.

Reviewed-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com> [relevant parts]
Suggested-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/arm/Kconfig
xen/arch/x86/Kconfig
xen/common/Kconfig
xen/common/livepatch.c